<{foreach from=$cats key=id item=cat}>
	<{if $id_current != $id}>
		<option <{if $id==$id_parent}>selected<{/if}> value="<{$id}>"><{repeat count=$padding}>&nbsp;&nbsp;&nbsp;<{/repeat}><{$cat.TITLE|utf8_escape_html }></option>
		<{if $cat.childs|@count}>
			<{include file="category_tree_select_parent.html" cats=$cat.childs padding=$padding+1 id_current=$id_current id_parent=$id_parent}>
		<{/if}>
	<{/if}>
<{/foreach}>